package com.example.Domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "user")
public class User {
    /*
    * 用户id
    * */
    @TableId(value = "id")
    private Integer id;
    /*
    * 用户姓名
    * */
    @TableField(value = "username")
    private  String username;
    /*
    * 登录名称
    * */
    @TableField(value = "Login_name")
    private String  loginName;
    /*
    * 密码
    * */
    @TableField(value = "password")
    private String password;
    /*
    * 邮箱
    * */
    @TableField(value = "email")
    private String email;
    /*
    * 权限id
    * */
    @TableField(value = "role_id")
    private Integer roleid;
    /*
    * 创建时间
    * */
    @TableField(value = "create_time")
    private Date createtime;
    /*
    * 学校
    * */
    @TableField(value = "school")
    private String school;
    /*
    * 省份
    * */
    @TableField(value = "province")
    private  String province;
    /*
    * 城市
    * */
    @TableField(value = "city")
    private  String city;
    /*
    * 班级
    * */
    @TableField(value = "classes")
    private  String classes;
    /*
    * 性别
    * */
    @TableField(value = "sex")
    private  String sex;
    /*
    * 出生日期
    * */
    @TableField(value = "birth")
    private  Date birth;
    /*
    * 联系电话
    * */
    @TableField(value = "phone")
    private  String phone;
    /*
    * 测试分组
    * */
    @TableField(value = "grouping")
    private  String grouping;

    @TableField(value = "checkCode")
    private String checkCode;
//修改时间
    @TableField(value = "updatePasswordTime")
    private Date updatePasswordTime;
    @TableField(exist = false,value = "accesstoken")
    private String accesstoken;
    @TableField(value = "openid")
    private String openId;
    @TableField(value = "failtime")
    private Date failtime;
    @TableField(value = "usercount")
    private Integer usercount;
    @TableField(value = "update_time")
    private Date updateTime;



}
